package com.huatai.datacenter.entity;

import lombok.Data;

import java.util.List;

/**
 * @program: ht-system
 * @description: 查询最新数据
 * @author: songxiude
 * @create: 2023-04-25 16:56
 **/
@Data
public class QueryLastMultiple {

    /**
     * 是否返回 tags
     * 默认 false
     */
    private boolean resolveNames = false;
    /**
     * 回溯时间 小时制
     */
    private Integer backScan = 24;
    /**
     * 多设备实例
     */
    private List<MultipleDevice> multipleDevices;

    public QueryLastMultiple() {
    }

    public QueryLastMultiple(boolean resolveNames, Integer backScan, List<MultipleDevice> multipleDevices) {
        this.resolveNames = resolveNames;
        this.backScan = backScan;
        this.multipleDevices = multipleDevices;
    }
}
